<section class="content mt-1">
    <div class="container-fluid">
        <div class="mt-1 mb-1">
            <span class="btn btn-block btn-danger refreshData">强制更新</span>
        </div>
<div class="row">
{foreach $tables AS $name => $vo}
    <div class="card">
        <a name="item-sql-{$vo.func}"></a>
        <div class="card-header">
            {$vo.title} ({$name})
        </div>
        <div class="card-body p-0">
            <table class="table table-condensed table-striped" >
                <thead>
                <tr>
                    <th>序号</th>
                    <th>字段名</th>
                    <th>数据类型</th>
                    <th>默认值</th>
                    <th>允许非空</th>
                    <th>自动递增</th>
                    <th>备注</th>
                </tr>
                </thead>
                <tbody>
                {volist name="$vo.COLUMN" id="voo"}
                <tr>
                    <td class="c0">{$key + 1}</td>
                    <td class="c1">{$voo.COLUMN_NAME}</td>
                    <td class="c2">{$voo.COLUMN_TYPE}</td>
                    <td class="c3">{$voo.COLUMN_DEFAULT}</td>
                    <td class="c4">{$voo.IS_NULLABLE}</td>
                    <td class="c5">
                        {if condition="$voo.EXTRA eq 'auto_increment'"}是{else/}{/if}
                    </td>
                    <td class="c6">{$voo.COLUMN_COMMENT}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
{/foreach}
</div>

</div></section>